<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>05_JS运算符</title>
</head>
<body>
    <script>
        console.log(6/2);
        console.log(3/2);

        console.log(3>10);
        console.log(3>'10');
        console.log('3'>10);

        console.log('超'>'字');
        console.log('超'.charCodeAt());
        console.log('字'.charCodeAt());
        console.log('3'>'10')
        console.log('1'.charCodeAt());
        console.log('100863'.charCodeAt());
        console.log('3'.charCodeAt());
        console.log('100863'.charCodeAt(5));

        let a=1;
        let b=true;
        console.log(a==b);
        console.log(a===b);

        let c=0;
        console.log(c==0 ? 'YES' : 'NO');
        console.log(c=0 ? 'YES' : 'NO');
    </script>
</body>
</html>